package net.dodoman.singletone;

/**
 * 饿汉单例
 * 
 * @author yanping
 * 
 */
public class EagerSingletone {

	private static final EagerSingletone eagerSingletone = new EagerSingletone();

	public static synchronized EagerSingletone getInstance() {
		return eagerSingletone;
	}

	private EagerSingletone() {

	}

}
